package com.pig4cloud.pigx.shop.user.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pig4cloud.pigx.shop.user.api.dto.CustomToUserOrderSummaryDTO;
import com.pig4cloud.pigx.shop.user.api.dto.CustomToUserSummaryDTO;
import com.pig4cloud.pigx.shop.user.api.vo.CustomToUserOrderSummaryVO;
import com.pig4cloud.pigx.shop.user.api.vo.CustomToUserSummaryVO;

import java.util.List;

public interface ShopUserSummaryService {

	/**
	 * 根据销售代表获取下级用户数量
	 * @param customToUserSummaryDTO
	 * @return
	 */
	IPage<CustomToUserSummaryVO> getCustomToUserSummary(Page page, CustomToUserSummaryDTO customToUserSummaryDTO);

	/**
	 * 根据销售代表获取下级用户数量
	 * @param customToUserSummaryDTO
	 * @return
	 */
	List<CustomToUserSummaryVO> getCustomToUserDetail(CustomToUserSummaryDTO customToUserSummaryDTO);

	/**
	 * 获取销售代表订单信息
	 * @param customToUserOrderSummaryDTO
	 * @return
	 */
	List<CustomToUserOrderSummaryVO> getCustomToUserOrderSummary(
			CustomToUserOrderSummaryDTO customToUserOrderSummaryDTO);

	/**
	 * 获取销售代表订单详情
	 * @param customToUserOrderSummaryDTO
	 * @return
	 */
	List<CustomToUserOrderSummaryVO> getCustomToUserOrderDetail(
			CustomToUserOrderSummaryDTO customToUserOrderSummaryDTO);

}
